package com.hqyj.product.service;

import com.hqyj.product.model.ProductInfo;

import java.util.List;

public interface ProductInfoService {
    List<ProductInfo> queryAllProductInfo();

    int addProductInfoByProductInfo(ProductInfo productInfo);

    int deleteProductInfoById(int id);

    ProductInfo queryProductInfoById(int productInfoId);

    int updateProductInfoByProductInfo(ProductInfo productInfo);

    int insertInRepertoryByProductInfo(String productId, String productName, Integer productQuantity, String type);

    int updateRepertoryByProductInfo(String productName, Integer productQuantity);

    void updateStateByProductId(int parseInt);
}
